'use strict';

class View2Controller {
  static $inject = [];
}

angular.module('myApp.view2', ['ngRoute'])
  .config(['$routeProvider', $routeProvider => {
    $routeProvider.when('/view2', {
      templateUrl: 'view2/view2.html',
      controller: 'View2Ctrl'
    });
  }])
  .controller('View2Ctrl', View2Controller);
